package com.example.design.bilibili.factory.factoryMethod;

public class BJPepperPizza extends Pizza {
    @Override
    protected void prepare() {
        setName("北京的胡椒披萨");
        System.out.println("北京的胡椒披萨准备原材料");
    }
}
